﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WaterBill.DTO
{
    class DTO_Charges
    {
        #region "Bien toan cuc"
        private int _ChargeId;
        private int _Month;
        private int _Year;
        private decimal _Price;
        private int _Status;
        #endregion
        #region "Thuoc tinh"
        public int ChargeId
        {
            get { return _ChargeId; }
            set { _ChargeId = value; }
        }
        public int Month
        {
            get { return _Month; }
            set { _Month = value; }
        }
        public int Year
        {
            get { return _Year; }
            set { _Year = value; }
        }
        public decimal Price 
        {
            get { return _Price; }
            set { _Price = value; }
        }
        public int Status
        {
            get { return _Status; }
            set { _Status = value; }
        }
        #endregion
        #region "Phuong thuc"
        public DTO_Charges()
        {
            _ChargeId = 0;
            _Month = DateTime.Now.Month;
            _Year = DateTime.Now.Year;
            _Price = 0;
            _Status = 1;
        }
        public DTO_Charges(DTO_Charges obj)
        {
            this.ChargeId = obj.ChargeId;
            this.Month = obj.Month;
            this.Year = obj.Year;
            this.Price = obj.Price;
            this.Status = obj.Status;
        }
        public DTO_Charges(int ChargeId, int Month, int Year, decimal Price, int Status)
        {
            this.ChargeId = ChargeId;
            this.Month = Month;
            this.Year = Year;
            this.Price = Price;
            this.Status = Status;
        }
        #endregion
    }
}
